import request from '@/utils/request'
// 获取列表
// /fengdu/history
// 封堵操作记录
export function fetchList(query) {
  return request({
    url: '/jhj1/jhjhisreview',
    method: 'get',
    params: query
  })
}
// /fengdu/fengdu_nowtime实时封堵
export function fetchDisplayList(query) {
  return request({
    url: '/jhj1/jhj_nowtime',
    method: 'get',
    params: query
  })
}
// 解封
// /fengdu/undo_copy
// 删除测试
export function undo(query) {
  return request({
    url: '/jhj1/delete',
    method: 'get',
    params: query
  })
}

// /fengdu/fengdu_copy
// 封堵测试  新增封堵

export function addDo(query) {
  return request({
    url: '/jhj1/add',
    method: 'get',
    params: query
  })
}

// /fengdu/display_copy
// 展示测试
export function display(query) {
  return request({
    url: '/jhj1/display',
    method: 'get',
    params: query
  })
}

// /fengdu/undorew
// 解封命令预览
export function undorew(query) {
  return request({
    url: '/jhj1/deletereview',
    method: 'get',
    params: query
  })
}
// /fengdu/fengdurew
// 封堵命令预览
export function fengdurew(query) {
  return request({
    url: '/jhj1/addreview',
    method: 'get',
    params: query
  })
}
